/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package business;

import java.io.Serializable;

/**
 *
 * @author Eduardo
 */
public class Document implements  Serializable {

    private int id;
    private int fileId;
    private String tittle = "";
    private int initialPosicion = 0;
    private int length = 0;
    

    public Document(){}


    @Override
    public String toString()
    {
        return "DOC(" + id + "##" + fileId + "##" + tittle + "##" + initialPosicion +"##" + length + ")";
    }



    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getFileId() {
        return fileId;
    }

    public void setFileId(int fileName) {
        this.fileId = fileName;
    }    

    public String getTittle() {
        return tittle;
    }

    public void setTittle(String tittle) {
        this.tittle = tittle;
    }

    public int getInitialPosicion() {
        return initialPosicion;
    }

    public void setInitialPosicion(int initialPosicion) {
        this.initialPosicion = initialPosicion;
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }
    

}
